/*
 * Copyright (C) 2008 Yohan Liyanage. 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */
package org.nebulaframework.discovery;

import org.nebulaframework.configuration.ConfigurationException;

/**
 * This exception denotes an situation where discovery has failed
 * to discover Grid members.
 * 
 * @author Yohan Liyanage
 * @version 1.0
 */
public class DiscoveryFailureException extends ConfigurationException {

	private static final long serialVersionUID = -8726156918367455610L;
	/**
	 * Create a DiscoveryFailureException without a message or cause.
	 */
	public DiscoveryFailureException() {
		super();
	}

	/**
	 * Create a DiscoveryFailureException with the given message.
	 * 
	 * @param message
	 *            Message
	 */
	public DiscoveryFailureException(String message) {
		super(message);
	}

	/**
	 * Create a DiscoveryFailureException with the given cause.
	 * 
	 * @param cause
	 *            Cause
	 */
	public DiscoveryFailureException(Throwable cause) {
		super(cause);
	}

	/**
	 * Create a DiscoveryFailureException with the given message and cause.
	 * 
	 * @param message
	 *            Message
	 * @param cause
	 *            Cause
	 */
	public DiscoveryFailureException(String message, Throwable cause) {
		super(message, cause);
	}

}
